<html>
<head><meta charset="utf-8"><title>bootstrap: Add dependency on libtest for doctests? · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/bootstrap.3A.20Add.20dependency.20on.20libtest.20for.20doctests.3F.html">bootstrap: Add dependency on libtest for doctests?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="203218489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/bootstrap%3A%20Add%20dependency%20on%20libtest%20for%20doctests%3F/near/203218489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/bootstrap.3A.20Add.20dependency.20on.20libtest.20for.20doctests.3F.html#203218489">(Jul 08 2020 at 00:10)</a>:</h4>
<p>For <a href="https://github.com/rust-lang/rust/pull/73964">https://github.com/rust-lang/rust/pull/73964</a> I stopped building <code>Rustc</code> by default, which seems to have broken things for <code>x.py test --doc</code>. How can I say in bootstrap that doctests depend on libtest? I tried <code>builder.ensure(compile::Std)</code>, but I think that only builds libstd, not libtest</p>



<a name="203219201"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/bootstrap%3A%20Add%20dependency%20on%20libtest%20for%20doctests%3F/near/203219201" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/bootstrap.3A.20Add.20dependency.20on.20libtest.20for.20doctests.3F.html#203219201">(Jul 08 2020 at 00:22)</a>:</h4>
<p>oh interesting, building stage n+1 rustc didn't help either</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>